home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / dlx38.zip / ATIDLX38.EXE / INSTALL.DAT < prev    next >
Text File  |  1992-10-09  |  37KB  |  1,157 lines

  1. @defineproject
  2. @name="ATI 38800 DL-Xpress"
  3. @version="2.1.2"
  4. @outdrive=c
  5. @subdir="\\dlxpress"
  6. @endproject
  7. @definevars
  8. @qstring @company = "Vibrant Graphics"
  9. @qstring @copyyear = "1992"
  10. @qstring @copycomp = "Vibrant Graphics"
  11. @qstring @realdate = "October 9, 1992"
  12. @qstring @rootfn = "ATIDLX38"
  13. @qstring @expfn = "RCDLX007"
  14. @qstring @resfn = "DL007212"
  15. @qstring @cfgfn = "VIBRANT"
  16. @qstring @rlmfn = "VG920922"
  17. @endvars
  18. @display
  19. @cls
  20. @windmsg(2,23,"@Name","Version @Version  @realdate","Copyright (c) @copyyear by @copycomp")
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.     This driver operates with AutoCAD releases 10, 11, and 12, as
  30.     well as 3D Studio version 1.0 and 2.0, and AutoShade with Renderman
  31.     version 2.0.
  32.  
  33.     This program will copy the needed files onto your system after
  34.     asking you for information about the desired setup of
  35.     @name.
  36.     Changes needed to the various files on your system can be
  37.     viewed, saved to disk, or directly modified by INSTALL.
  38.  
  39.     You may press [ESC] to abort at any time.
  40. @pause
  41. @enddisplay
  42. @if ( @strequal("@getenvstr("DSPADI")","\\") )
  43. @getoption
  44. @cls
  45. @writeat("Installation level",30,,100)
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.     A Simple installation only works if there are no other protected
  53.     mode drivers for AutoCAD.  This places the driver in the same
  54.     directory as AutoCAD (or the DRV directory of Release 12).
  55.  
  56.     The Advanced installation places the driver in a user-specified
  57.     directory for sharing between releases or just for organizational
  58.     uses.  If you do not wish to install for AutoCAD, but only for
  59.     3D Studio or Autoshade with Renderman, select Advanced.
  60.  
  61.     Select 'Skip' if you only wish to install one or more of the support
  62.     utilities.
  63.  
  64.     Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.
  65.  
  66. @option 10 = "Simple installation"
  67. @option 11 = "Advanced installation"
  68. @option 12 = "*Skip driver installation*"
  69. @endoption
  70. @else
  71. @getoption
  72. @cls
  73. @writeat("Installation level",30,,100)
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.     The 'DSPADI' variable has been detected by the install.  The Simple
  82.     installation cannot be performed for AutoCAD release 10 and 11.
  83.     Select 'AutoCAD R12 Only' if you wish to only install for that
  84.     program only by placing it into the DRV directory.
  85.  
  86.     The Advanced installation places the driver in a user-specified
  87.     directory for sharing between releases or just for organizational
  88.     uses.  If you do not wish to install for AutoCAD, but only for
  89.     3D Studio or Autoshade with Renderman, select Advanced.
  90.  
  91.     Select 'Skip' if you only wish to install one or more of the support
  92.     utilities.
  93.  
  94. @option 11 = "Advanced installation"
  95. @option 22  = "AutoCAD R12 Only"
  96. @option 12 = "*Skip driver installation*"
  97. @endoption
  98. @endif
  99. @if (12 [! @option && 22 [! @option)
  100. @if (10 [= @option)
  101. @getoption
  102. @checkbox
  103. @cls
  104. @writeat("Simple installation",30,,100)
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.     Please select which version(s) of AutoCAD you wish the driver installed
  117.     for.  Please note that the simple install will place a copy of the
  118.     driver in each of the specified directories.
  119.  
  120.     Use <SPACE> to toggle between Yes & No, and the <UP> <DOWN> arrow keys
  121.     to move.  Press 'Y' to set all of the toggles to Yes, or 'N' to set them
  122.     all to No.  Press <ENTER> to continue.
  123. @option 20 = "AutoCAD Release 10"
  124. @option 21 = "AutoCAD Release 11"
  125. @option 22 = "AutoCAD Release 12"
  126. @endoption
  127. @else
  128. @getoption
  129. @checkbox
  130. @cls
  131. @writeat("Advanced installation",30,,100)
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.     Please select which products you wish the driver installed for.  Only
  144.     one copy of the driver is placed on your system and shared between
  145.     these programs.
  146.  
  147.     Use <SPACE> to toggle between Yes & No, and the <UP> <DOWN> arrow keys
  148.     to move.  Press 'Y' to set all of the toggles to Yes, or 'N' to set them
  149.     all to No.  Press <ENTER> to continue.
  150. @option 30 = "AutoCAD Release 10"
  151. @option 31 = "AutoCAD Release 11"
  152. @option 32 = "AutoCAD Release 12"
  153. @option 40 = "3D Studio version 1.0"
  154. @option 41 = "3D Studio version 2.0"
  155. @option 50 = "AutoShade with Renderman version 2.0"
  156. @endoption
  157. @endif
  158. @endif
  159. @definevars
  160. @drive @acad10drive = @outdrive
  161. @dir @acad10dir = "\\acad"
  162. @endvars
  163. @if (20 [= @option)
  164. @getoutdrive @acad10drive
  165. @cls
  166. @suppress A
  167. @suppress B
  168. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  169. @writeat("Please specify the drive where AutoCAD Release 10 is located.",30,18,100)
  170. @endoutdrive
  171. @getsubdir @acad10dir
  172. @cls
  173. @writeat("Please specify the directory where AutoCAD Release 10 is located.",30,8,100)
  174. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  175. @localwindow(13,1)
  176. @endsubdir
  177. @if (!(@exists "@acad10drive:@acad10dir\\ACAD.EXE"))
  178. @getoption
  179. @cls
  180. @windmsg(3,79,"--- W A R N I N G ! ---",
  181.  "ACAD.EXE was not found in the directory:",
  182.  "@acad10drive:@acad10dir")
  183. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  184. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  185. @localwindow(13,40)
  186. @option 10000 = "Quit installation!"
  187. @option 10001 = "Continue"
  188. @endoption
  189. @if (10000 [= @option)  @abort  @endif
  190. @endif
  191. @endif
  192. @definevars
  193. @if (20 [= @option)
  194. @drive @acad11drive = @acad10drive
  195. @else
  196. @drive @acad11drive = @outdrive
  197. @endif
  198. @dir @acad11dir = "\\acad"
  199. @endvars
  200. @if (21 [= @option)
  201. @getoutdrive @acad11drive
  202. @cls
  203. @suppress A
  204. @suppress B
  205. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  206. @writeat("Please specify the drive where AutoCAD Release 11 is located.",30,18,100)
  207. @endoutdrive
  208. @getsubdir @acad11dir
  209. @cls
  210. @writeat("Please specify the directory where AutoCAD Release 11 is located.",30,8,100)
  211. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  212. @localwindow(13,1)
  213. @endsubdir
  214. @if (!(@exists "@acad11drive:@acad11dir\\ACAD.EXE"))
  215. @getoption
  216. @cls
  217. @windmsg(3,79,"--- W A R N I N G ! ---",
  218.  "ACAD.EXE was not found in the directory:",
  219.  "@acad11drive:@acad11dir")
  220. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  221. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  222. @localwindow(13,40)
  223. @option 10000 = "Quit installation!"
  224. @option 10001 = "Continue"
  225. @endoption
  226. @if (10000 [= @option)  @abort  @endif
  227. @endif
  228. @endif
  229. @definevars
  230. @if (21 [= @option)
  231. @drive @acad12drive = @acad11drive
  232. @elseif (20 [= @option)
  233. @drive @acad12drive = @acad10drive
  234. @else
  235. @drive @acad12drive = @outdrive
  236. @endif
  237. @dir @acad12dir = "\\acad"
  238. @endvars
  239. @if (22 [= @option)
  240. @getoutdrive @acad12drive
  241. @cls
  242. @suppress A
  243. @suppress B
  244. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  245. @writeat("Please specify the drive where AutoCAD Release 12 is located.",30,18,100)
  246. @endoutdrive
  247. @getsubdir @acad12dir
  248. @cls
  249. @writeat("Please specify the directory where AutoCAD Release 12 is located.",30,8,100)
  250. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  251. @localwindow(13,1)
  252. @endsubdir
  253. @if (!(@exists "@acad12drive:@acad12dir\\ACAD.EXE"))
  254. @getoption
  255. @cls
  256. @windmsg(3,79,"--- W A R N I N G ! ---",
  257. "ACAD.EXE was not found in the directory:",
  258. "@acad12drive:@acad12dir")
  259. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  260. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  261. @localwindow(13,40)
  262. @option 10000 = "Quit installation!"
  263. @option 10001 = "Continue"
  264. @endoption
  265. @if (10000 [= @option)  @abort  @endif
  266. @endif
  267. @endif
  268. @definevars
  269. @drive @s3D1drive = @outdrive
  270. @dir @s3D1dir = "\\3DS"
  271. @endvars
  272. @if (40 [= @option)
  273. @getoutdrive @s3D1drive
  274. @cls
  275. @suppress A
  276. @suppress B
  277. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  278. @writeat("Please specify the drive where 3D Studio version 1.0 is located.",30,18,100)
  279. @endoutdrive
  280. @getsubdir @s3D1dir
  281. @cls
  282. @writeat("Please specify the directory where 3D Studio verison 1.0 is located.",30,8,100)
  283. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  284. @localwindow(13,1)
  285. @endsubdir
  286. @if (!(@exists "@s3D1drive:@s3D1dir\\3DS.EXE"))
  287. @getoption
  288. @cls
  289. @windmsg(3,79,"--- W A R N I N G ! ---",
  290. "3DS.EXE was not found in the directory:",
  291. "@s3D1drive:@s3D1dir")
  292. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  293. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  294. @localwindow(13,40)
  295. @option 10000 = "Quit installation!"
  296. @option 10001 = "Continue"
  297. @endoption
  298. @if (10000 [= @option)  @abort  @endif
  299. @endif
  300. @endif
  301. @definevars
  302. @if (40 [= @option)
  303. @drive @s3D2drive = @s3D1drive
  304. @else
  305. @drive @s3D2drive = @outdrive
  306. @endif
  307. @dir @s3D2dir = "\\3DS2"
  308. @endvars
  309. @if (41 [= @option)
  310. @getoutdrive @s3D2drive
  311. @cls
  312. @suppress A
  313. @suppress B
  314. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  315. @writeat("Please specify the drive where 3D Studio version 2.0 is located.",30,18,100)
  316. @endoutdrive
  317. @getsubdir @s3D2dir
  318. @cls
  319. @writeat("Please specify the directory where 3D Studio verison 2.0 is located.",30,8,100)
  320. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  321. @localwindow(13,1)
  322. @endsubdir
  323. @if (!(@exists "@s3D2drive:@s3D2dir\\3DS.EXE"))
  324. @getoption
  325. @cls
  326. @windmsg(3,79,"--- W A R N I N G ! ---",
  327. "3DS.EXE was not found in the directory:",
  328. "@s3D2drive:@s3D2dir")
  329. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  330. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  331. @localwindow(13,40)
  332. @option 10000 = "Quit installation!"
  333. @option 10001 = "Continue"
  334. @endoption
  335. @if (10000 [= @option)  @abort  @endif
  336. @endif
  337. @endif
  338. @if (30 [= @option || 31 [= @option || 32 [= @option || 40 [= @option ||
  339. 41 [= @option || 50 [= @option )
  340. @getoutdrive @outdrive
  341. @cls
  342. @suppress A
  343. @suppress B
  344. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  345. @writeat("Please specify the drive where @name should be located.",30,18,100)
  346. @endoutdrive
  347. @getsubdir @subdir
  348. @cls
  349. @writeat("Please specify the directory where @name should be located.",30,8,100)
  350. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  351. @localwindow(13,1)
  352. @endsubdir
  353. @if (@strequal("@getenvstr("RDPADI")","\\")==0)
  354. @getoption
  355. @cls
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.     The environment variable 'RDPADI' was found to be set to:
  364.     @writeat("@getenvstr("RDPADI")",30,,100)
  365.     If this points to an older version of @name,
  366.     then please answer Yes to overwrite the old variable.  If
  367.     this points to another driver, then you may either overwrite 
  368.     it with @name or you can leave it alone.
  369.     (Note that no changes will occur yet.  You will be asked if you
  370.     wish to modify or save the changes later in the INSTALL)
  371. @writeat("Please specify if you wish the environment variable RDPADI overwritten.",30,19,100)
  372. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  373. @option 150 = "No, leave RDPADI alone"
  374. @option 151 = "Yes, overwrite"
  375. @endoption
  376. @endif
  377. @getoption
  378. @cls
  379. @writeat("Please specify where you wish the SET statement(s) placed.",30,2,100)
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.     Environment variables MUST be properly setup before the driver will
  393.     work correctly.  You may either have the variables set in the
  394.     AUTOEXEC.BAT, so that they are setup when you boot your system, or
  395.     in a @rootfn.BAT file which MUST be run before you use the product
  396.     with the driver.
  397.  
  398. @if (30 [= @option || 31 [= @option || 50 [= @option)
  399. @writeat("SET DSPADI=@outdrive:@subdir\\@expfn.EXP",31,9,100)
  400. @endif
  401. @writeat("SET VIBCFG=@outdrive:@subdir\\@cfgfn.CFG",31,10,100)
  402. @if (40 [= @option || 41 [= @option)
  403. @writeat("SET RCPADI=@outdrive:@subdir\\@expfn.EXP",31,11,100)
  404. @endif
  405. @if (151 [= @option || ((@strequal("@getenvstr("RDPADI")","\\")==1) && (50 [= @option || 32 [= @option)))
  406. @writeat("SET RDPADI=@outdrive:@subdir\\@expfn.EXP",31,12,100)
  407. @endif
  408. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  409. @option 100 = "Put SET statements into AUTOEXEC.BAT"
  410. @option 101 = "Put SET statements into @rootfn.BAT"
  411. @endoption
  412. @endif
  413. @definevars
  414. @if (32 [= @option)
  415. @drive @a12bdrive = @acad12drive
  416. @else
  417. @drive @a12bdrive = @outdrive
  418. @endif
  419. @dir @a12bdir = "\\"
  420. @qstring @a12bname = "ACAD.BAT"
  421. @endvars
  422. @if (32 [= @option)
  423. @getoption
  424. @cls
  425. @writeat("Please specify where your AutoCAD environment variables.",30,2,100)
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.     The AutoCAD Release 12 install defines several variables in order to
  437.     allow ACAD R12 to find the files it needs to run.  Since you are not
  438.     installing the driver into the default ..\DRV directory, the INSTALL
  439.     needs to add the @subdir directory to the ACADDRV variable.
  440.  
  441.     If you have them in a batch file, select the top choice.  If you have
  442.     put them into the AUTOEXEC.BAT file, select the bottom choice.
  443.  
  444. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  445. @option 175 = "AutoCAD R12 variables are in a ACAD.BAT file"
  446. @option 176 = "AutoCAD R12 variables are in the AUTOEXEC.BAT"
  447. @endoption
  448. @if (175 [= @option)
  449. @getoutdrive @a12bdrive
  450. @cls
  451. @suppress A
  452. @suppress B
  453. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  454. @writeat("Please specify the drive where the AutoCAD R12 batch is located.",30,18,100)
  455. @endoutdrive
  456. @getsubdir @a12bdir
  457. @cls
  458. @writeat("Please specify the directory where the AutoCAD R12 batch is located.",30,8,100)
  459. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  460. @localwindow(13,1)
  461. @endsubdir
  462. @getstring @a12bname
  463. @cls
  464. @writeat("Please specify the name of the AutoCAD R12 batch.",30,8,100)
  465. @endstring
  466. @endif
  467. @endif
  468. @if (100 [= @option || 101 [= @option || 175 [= @option || 176 [= @option)
  469. @display
  470. @cls
  471. @windmsg(1,14,"--- I M P O R T A N T ---")
  472.  
  473.  
  474.  
  475.     Many programs use environment variables to allow the user to configure
  476.     his/her system as they desire.  These variables, however, do require
  477.     some small amount of memory.  The amount of memory set aside by the
  478.     system by default is fairly small, but adequate for systems with few
  479.     environment variables.  With the recent trend of software packages
  480.     using environment variables, the default is often not enough.  If you
  481.     encounter the message 'Out of environment space' while booting your
  482.     system or running a batch file, then you should increase the amount of
  483.     space set aside for these variables with the following line in your
  484.     CONFIG.SYS file and reboot:
  485.  
  486.                SHELL = C:\COMMAND.COM /P /E:xxxx
  487.  
  488.     where 'xxxx' is a decimal number.  1024 is a good number, but may
  489.     not be sufficient if you have many environment variables set.
  490.  
  491. @pause
  492. @enddisplay
  493. @endif
  494. @if (20 [= @option || 21 [= @option ||
  495.  30 [= @option || 31 [= @option ||
  496.  40 [= @option || 41 [= @option ||
  497.  12 [= @option)
  498. @getoption
  499. @cls
  500. @checkbox
  501. @writeat("Select other utilities",30,,100)
  502.         
  503.  
  504.  
  505.  
  506.  
  507.     These programs are patches needed to fix problems with the programs
  508.     driven by @name.  If in doubt, press 'Y' and ENTER.
  509.  
  510.     AutoPatch repairs some problems with protected mode drivers with
  511.     AutoCAD Releases 10 and 11, as well as 3D Studio version 1.0 & 2.0.
  512.  
  513.     NEWDX updates the Pharlap Dos Extender to a newer version in AutoCAD
  514.     Releases 10 and 11.  Some problems exist in using the older version
  515.     with protected mode drivers like @name.
  516.  
  517.     Use <SPACE> to toggle between Yes & No, and the <UP> <DOWN> arrow keys
  518.     to move the cursor.  Press 'Y' to set them all to Yes and 'N' to set
  519.     them all to No.  Press <ENTER> to continue.
  520. @option 300 = "AutoPatch (Fix for ACAD & 3D Studio)"
  521. @option 301 = "NEWDX (Fix for ACAD R10 & 11)"
  522. @endoption
  523. @endif
  524. @if (30 [! @option && 31 [! @option && 32 [! @option && 40 [! @option &&
  525.  41 [! @option && 50 [! @option &&
  526.  (
  527.  300 [= @option || 301 [= @option))
  528. @getoutdrive @outdrive
  529. @cls
  530. @suppress A
  531. @suppress B
  532. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  533. @writeat("Please specify the drive where the fix(es) should be located.",30,18,100)
  534. @endoutdrive
  535. @getsubdir @subdir
  536. @cls
  537. @writeat("Please specify the directory where the fix(es) should be located.",30,8,100)
  538. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  539. @localwindow(13,1)
  540. @endsubdir
  541. @endif
  542. @display
  543. @writeat("You have made the following selections.",30,,100)
  544. @if (20 [= @option)
  545. @writeat("Simple installation for AutoCAD Release 10",31,4,100)
  546. @elseif (30 [= @option)
  547. @writeat("Advanced installation for AutoCAD Release 10",31,4,100) @endif
  548. @if (21 [= @option)
  549. @writeat("Simple installation for AutoCAD Release 11",31,5,100)
  550. @elseif (31 [= @option)
  551. @writeat("Advanced installation for AutoCAD Release 11",31,5,100) @endif
  552. @if (22 [= @option)
  553. @writeat("Simple installation for AutoCAD Release 12",31,6,100)
  554. @elseif (32 [= @option)
  555. @writeat("Advanced installation for AutoCAD Release 12",31,6,100) @endif
  556. @if (20 [! @option && 21 [! @option && 22 [! @option && 30 [! @option &&
  557.      31 [! @option && 32 [! @option)
  558. @writeat("No AutoCAD selections made.",31,5,100) @endif
  559. @if (40 [= @option)
  560. @writeat("3D Studio version 1.0",31,7,100) @endif
  561. @if (41 [= @option)
  562. @writeat("3D Studio version 2.0",31,8,100) @endif
  563. @if (40 [! @option && 41 [! @option)
  564. @writeat("No 3D Studio selections made.",31,7,100) @endif
  565. @if (50 [= @option)
  566. @writeat("AutoShade with Renderman",31,9,100)
  567. @else
  568. @writeat("No AutoShade with Rendermade selection made.",31,9,100) @endif
  569. @if (300 [= @option)
  570. @writeat("AutoPatch fix program",31,13,100) @endif
  571. @if (301 [= @option)
  572. @writeat("NEWDX fix program",31,14,100) @endif
  573. @if (300 [! @option && 301 [! @option)
  574. @writeat("No fix utilities selected",31,13,100) @endif
  575. @writeat("If these selections are not correct, then press [ESC] and rerun install.",
  576.      79,16,100)
  577. @writeat("   Note that some boxes require the <SPACE>, or 'Y' keys to be pressed  ",
  578.      79,17,100)
  579. @writeat("              before any of the options are selected.                   ",
  580.      79,18,100)
  581. @writeat("      Please read the instructions on each screen carefully!            ",
  582.      79,19,100)
  583.  
  584. @pause
  585. @enddisplay
  586. @display
  587. @writeat("The following files will be installed.",30,1,100)
  588. @if (20 [= @option)
  589. @writeat("@expfn.EXP => @acad10drive:@acad10dir\\ADIDISP.EXP",31,2,100)
  590. @writeat("@resfn.RES => @acad10drive:@acad10dir\\@resfn.RES",31,3,100) @endif
  591. @if (21 [= @option)
  592. @writeat("@expfn.EXP => @acad11drive:@acad11dir\\ADIDISP.EXP",31,5,100)
  593. @writeat("@resfn.RES => @acad11drive:@acad11dir\\@resfn.RES",31,6,100) @endif
  594. @if (22 [= @option)
  595. @writeat("@expfn.EXP => @acad12drive:@acad12dir\\DRV\\@expfn.EXP",31,8,100)
  596. @writeat("@resfn.RES => @acad12drive:@acad12dir\\DRV\\@resfn.RES",31,9,100) @endif
  597. @if (30 [= @option || 31 [= @option || 32 [= @option || 40 [= @option || 41 [= @option || 50 [= @option )
  598. @writeat("@expfn.EXP => @outdrive:@subdir\\@expfn.EXP",31,11,100)
  599. @writeat("@resfn.RES => @outdrive:@subdir\\@resfn.RES",31,12,100) @endif
  600. @if (300 [= @option)
  601. @writeat("APATCH.EXE => @outdrive:@subdir\\APATCH.EXE",31,13,100) @endif
  602. @if (301 [= @option)
  603. @writeat("NEWDX.EXE => @outdrive:@subdir\\NEWDX.EXE",31,14,100)
  604. @writeat("NEWDX.DOC => @outdrive:@subdir\\NEWDX.DOC",31,15,100) @endif
  605. @if (20 [! @option && 21 [! @option && 22 [! @option &&
  606.      30 [! @option && 31 [! @option && 32 [! @option &&
  607.      40 [! @option && 41 [! @option && 50 [! @option &&
  608.      200 [! @option && 201 [! @option && 202 [! @option &&
  609.      300 [! @option && 301 [! @option
  610. )
  611. @writeat("No Files Selected!",207,7,100)
  612.  
  613. @endif
  614. @pause
  615. @enddisplay
  616. @if (
  617.  100 [= @option || 101 [= @option ||
  618.  175 [= @option || 176 [= @option
  619.  )
  620. @getoption
  621. @cls
  622. @writeat("Configuration changes",30,,100)
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.     Displaying to screen only will make no changes to your system, but
  631.     you must make any displayed changes before running the program.
  632.  
  633.     If you select the .NEW file output, then the changes needed will be
  634.     written into a file of the same name, with an extention of .NEW.
  635.     Use an editor to make the changes in the original file (or, in the
  636.     case of 3DS.NEW, just rename it 3DS.SET).
  637.  
  638.     If you select the direct change, a backup of your file will be made
  639.     with the extention .BAK.
  640.  
  641. @option 400 = "Display required commands to screen only"
  642. @if (101 [= @option)
  643. @option 401 = "Create .NEW files, if needed; write @rootfn.BAT directly."
  644. @else
  645. @option 401 = "Create .NEW files, if needed"
  646. @endif
  647. @option 402 = "Modify AUTOEXEC.BAT and/or 3DS.SET"
  648. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  649. @endoption
  650. @endif
  651. @if (100 [= @option
  652. )
  653. @setautoexec
  654. @if (400 [= @option)
  655. @screenproto
  656. @elseif (401 [= @option)
  657. @diskproto
  658. @elseif (402 [= @option)
  659. @askoverwrite
  660. @endif
  661. @if (100 [= @option)
  662. @if (30 [= @option || 31 [= @option || 50 [= @option)
  663. @setreplace("DSPADI","@outdrive:@subdir\\@expfn.EXP")
  664. @endif
  665. @setreplace("VIBCFG","@outdrive:@subdir\\@cfgfn.CFG")
  666. @if (40 [= @option || 41 [= @option)
  667. @setreplace("RCPADI","@outdrive:@subdir\\@expfn.EXP")
  668. @endif
  669. @if (151 [= @option || ((@strequal("@getenvstr("RDPADI")","\\")==1) && (50 [= @option || 32 [= @option)))
  670. @setreplace("RDPADI","@outdrive:@subdir\\@expfn.EXP")
  671. @endif
  672. @endif
  673. @if (176 [= @option)
  674. @setappend("ACADDRV","@outdrive:@subdir")
  675. @endif
  676. @endautoexec
  677. @endif
  678. @if (101 [= @option)
  679. @setbatch
  680. @if (400 [= @option)
  681. @screenproto
  682. @else
  683. @askoverwrite
  684. @endif
  685. @file "@rootfn.BAT"
  686. @if (30 [= @option || 31 [= @option || 50 [= @option)
  687. @setreplace("DSPADI","@outdrive:@subdir\\@expfn.EXP")
  688. @endif
  689. @setreplace("VIBCFG","@outdrive:@subdir\\@cfgfn.CFG")
  690. @if (40 [= @option || 41 [= @option)
  691. @setreplace("RCPADI","@outdrive:@subdir\\@expfn.EXP")
  692. @endif
  693. @if (151 [= @option || ((@strequal("@getenvstr("RDPADI")","\\")==1) && (50 [= @option || 32 [= @option)))
  694. @setreplace("RDPADI","@outdrive:@subdir\\@expfn.EXP")
  695. @endif
  696. @endbatch
  697. @endif
  698. @if (175 [= @option)
  699. @setbatch
  700. @if (400 [= @option)
  701. @screenproto
  702. @elseif (401 [= @option)
  703. @diskproto
  704. @elseif (402 [= @option)
  705. @askoverwrite
  706. @endif
  707. @file "@a12bdrive:@a12bdir\\@a12bname"
  708. @setappend("ACADDRV","@outdrive:@subdir")
  709. @endbatch
  710. @endif
  711. @if (40 [= @option)
  712. @if (!(@exists "@s3d1drive:@s3d1dir\\3DS.SET"))
  713. @getoption
  714. @cls
  715. @windmsg(3,79,"--- W A R N I N G ! ---",
  716.  "3DS.SET was not found in the 3D-Studio 1.0 directory:",
  717.  "@s3d1drive:@s3d1dir")
  718. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  719. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  720. @localwindow(13,40)
  721. @option 10000 = "Quit installation!"
  722. @option 10001 = "Continue"
  723. @endoption
  724. @if (10000 [= @option)  @abort  @endif
  725. @endif
  726. @if (400 [= @option || (!(@exists "@s3d1drive:@s3d1dir\\3DS.SET")))
  727. @display
  728. @cls
  729. @windmsg(2,14,"--- I M P O R T A N T ---")
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.      For 3D-Studio 1.0 to utilize the new driver, the 3DS.SET file needs
  737.      several changes.  Note that any text that appears on a line after
  738.      a semi-colon ('     has some lines 'commented-out' by starting with a semi-colon.  The
  739.      semi-colon's should be removed in the following lines:
  740.  
  741.          The line containing 'DEFAULT-DISPLAY' should be replaced with
  742.              'DEFAULT-DISPLAY = "RCPADI"'
  743.          The line containing 'MAIN-DISPLAY' should be replaced with
  744.              'MAIN-DISPLAY = RCPADI'
  745.          The line containing 'MATERIAL-DISPLAY' should be replaced with
  746.              'MATERIAL-DISPLAY = RCPADI'
  747.  
  748. @pause
  749. @enddisplay
  750. @endif
  751. @if (401 [= @option && (@exists "@s3d1drive:@s3d1dir\\3DS.SET"))
  752. @copy("@s3d1drive:@s3d1dir\\3DS.SET","@s3d1drive:@s3d1dir\\3DS.NEW")
  753. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.NEW","DEFAULT-DISPLAY",
  754.  "DEFAULT-DISPLAY = \"RCPADI\"",,,,,1)==0)
  755. @getoption
  756. @cls
  757. @windmsg(10,79,"--- W A R N I N G ! ---",
  758.  "Couldn't find 'DEFAULT-DISPLAY' in",
  759.  "@s3d1drive:@s3d1dir\\3DS.SET")
  760.  
  761.  
  762.  
  763.    For 3D Studio 1.0 to work properly, several lines in 3DS.SET should be
  764.    changed.  Note that any text that appears on a line after a semi-colon
  765.    ('   'commented-out' by starting with a semi-colon.
  766.  
  767.    A line containing 'DEFAULT-DISPLAY' could not be found.  Add the line
  768.        'DEFAULT-DISPLAY = "RCPADI"' to the file!
  769. @option 10000 = "Quit installation!"
  770. @option 10001 = "Continue"
  771. @endoption
  772. @if (10000 [= @option)  @abort  @endif
  773. @endif
  774. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.NEW","MAIN-DISPLAY",
  775.  "MAIN-DISPLAY = RCPADI",,,,,1)==0)
  776. @getoption
  777. @cls
  778. @windmsg(10,79,"--- W A R N I N G ! ---",
  779. "Couldn't find 'MAIN-DISPLAY' in",
  780. "@s3d1drive:@s3d1dir\\3DS.SET")
  781.  
  782.  
  783.  
  784.  
  785.    For 3D Studio 1.0 to work properly, several lines in 3DS.SET should be
  786.    changed.  Note that any text that appears on a line after a semi-colon
  787.    ('   'commented-out' by starting with a semi-colon.
  788.  
  789.    A line containing 'MAIN-DISPLAY' could not be found.  Add the line
  790.        'MAIN-DISPLAY = RCPADI' to the file!
  791. @option 10000 = "Quit installation!"
  792. @option 10001 = "Continue"
  793. @endoption
  794. @if (10000 [= @option)  @abort  @endif
  795. @endif
  796. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.NEW","MATERIAL-DISPLAY",
  797.  "MATERIAL-DISPLAY = RCPADI",,,,,1)==0)
  798. @getoption
  799. @cls
  800. @windmsg(3,79,"--- W A R N I N G ! ---",
  801.  "Couldn't find 'MATERIAL-DISPLAY' in",
  802.  "@s3d1drive:@s3d1dir\\3DS.SET")
  803. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  804. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  805. @localwindow(13,40)
  806. @option 10000 = "Quit installation!"
  807. @option 10001 = "Continue"
  808. @endoption
  809. @if (10000 [= @option)  @abort  @endif
  810. @endif
  811. @display
  812. @cls
  813. @windmsg(11,46,"The file @s3d1drive:@s3d1dir\\3DS.NEW, which contains",
  814. "the prototype of 3DS.SET for version 1.0, has been written to disk",
  815. "Incorporate the changes before running @name.")
  816.  
  817.  
  818.  
  819.  
  820.  
  821. @pause
  822. @enddisplay
  823. @elseif (402 [= @option)
  824. @if (!(@exists "@s3d1drive:@s3d1dir\\3DS.OLD"))
  825. @copy("@s3d1drive:@s3d1dir\\3DS.SET","@s3d1drive:@s3d1dir\\3DS.OLD")
  826. @else
  827. @copy("@s3d1drive:@s3d1dir\\3DS.SET","@s3d1drive:@s3d1dir\\3DS.BAK")
  828. @endif
  829. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.SET","DEFAULT-DISPLAY",
  830. "DEFAULT-DISPLAY = \"RCPADI\"",,,,,1)==0)
  831. @getoption
  832. @cls
  833. @windmsg(10,79,"--- W A R N I N G ! ---",
  834.  "Couldn't find 'DEFAULT-DISPLAY' in",
  835.  "@s3d1drive:@s3d1dir\\3DS.SET")
  836.  
  837.  
  838.  
  839.    For 3D Studio 1.0 to work properly, several lines in 3DS.SET should be
  840.    changed.  Note that any text that appears on a line after a semi-colon
  841.    ('   'commented-out' by starting with a semi-colon.
  842.  
  843.    A line containing 'DEFAULT-DISPLAY' could not be found.  Add the line
  844.        'DEFAULT-DISPLAY = "RCPADI"' to the file!
  845. @option 10000 = "Quit installation!"
  846. @option 10001 = "Continue"
  847. @endoption
  848. @if (10000 [= @option)  @abort  @endif
  849. @endif
  850. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.SET","MAIN-DISPLAY",
  851.  "MAIN-DISPLAY = RCPADI",,,,,1)==0)
  852. @getoption
  853. @cls
  854. @windmsg(10,79,"--- W A R N I N G ! ---",
  855.  "Couldn't find 'MAIN-DISPLAY' in",
  856.  "@s3d1drive:@s3d1dir\\3DS.SET")
  857.  
  858.  
  859.  
  860.  
  861.    For 3D Studio 1.0 to work properly, several lines in 3DS.SET should be
  862.    changed.  Note that any text that appears on a line after a semi-colon
  863.    ('   'commented-out' by starting with a semi-colon.
  864.  
  865.    A line containing 'MAIN-DISPLAY' could not be found.  Add the line
  866.        'MAIN-DISPLAY = RCPADI' to the file!
  867. @option 10000 = "Quit installation!"
  868. @option 10001 = "Continue"
  869. @endoption
  870. @if (10000 [= @option)  @abort  @endif
  871. @endif
  872. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.SET","MATERIAL-DISPLAY",
  873.  "MATERIAL-DISPLAY = RCPADI",,,,,1)==0)
  874. @getoption
  875. @cls
  876. @windmsg(3,79,"--- W A R N I N G ! ---",
  877.  "Couldn't find 'MATERIAL-DISPLAY' in",
  878.  "@s3d1drive:@s3d1dir\\3DS.SET")
  879. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  880. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  881. @localwindow(13,40)
  882. @option 10000 = "Quit installation!"
  883. @option 10001 = "Continue"
  884. @endoption
  885. @if (10000 [= @option)  @abort  @endif
  886. @endif
  887. @display
  888. @cls
  889. @windmsg(11,46,"The file @s3d1drive:@s3d1dir\\3DS.SET for version 1.0 has been updated")
  890.  
  891.  
  892.  
  893.  
  894.  
  895. @pause
  896. @enddisplay
  897. @endif
  898. @endif
  899. @if (41 [= @option) // 3D-Studio 3DS.SET changes
  900. @if (!(@exists "@s3d2drive:@s3d2dir\\3DS.SET"))
  901. @getoption
  902. @cls
  903. @windmsg(3,79,"--- W A R N I N G ! ---",
  904.  "3DS.SET was not found in the 3D-Studio 2.0 directory:",
  905.  "@s3d2drive:@s3d2dir")
  906. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  907. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  908. @localwindow(13,40)
  909. @option 10000 = "Quit installation!"
  910. @option 10001 = "Continue"
  911. @endoption
  912. @if (10000 [= @option)  @abort  @endif
  913. @endif
  914. @if (400 [= @option || (!(@exists "@s3d2drive:@s3d2dir\\3DS.SET")))
  915. @display
  916. @cls
  917. @windmsg(2,14,"--- I M P O R T A N T ---")
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.      For 3D-Studio 2.0 to utilize the new driver, the 3DS.SET file needs
  925.      several changes.  Note that any text that appears on a line after
  926.      a semi-colon ('     has some lines 'commented-out' by starting with a semi-colon.  The
  927.      semi-colon's should be removed in the following lines:
  928.  
  929.          The line containing 'RENDER-DISPLAY' should be replaced with
  930.              'RENDER-DISPLAY = RCPADI'
  931.          The line containing 'MAIN-DISPLAY' should be replaced with
  932.              'MAIN-DISPLAY = RCPADI'
  933.          The line containing 'MATERIAL-DISPLAY' should be replaced with
  934.              'MATERIAL-DISPLAY = RCPADI'
  935.  
  936. @pause
  937. @enddisplay
  938. @endif
  939. @if (401 [= @option && (@exists "@s3d2drive:@s3d2dir\\3DS.SET"))
  940. @copy("@s3d2drive:@s3d2dir\\3DS.SET","@s3d2drive:@s3d2dir\\3DS.NEW")
  941. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.NEW","RENDER-DISPLAY",
  942.  "RENDER-DISPLAY = RCPADI",,,,,1)==0)
  943. @getoption
  944. @cls
  945. @windmsg(10,79,"--- W A R N I N G ! ---",
  946.  "Couldn't find 'RENDER-DISPLAY' in",
  947.  "@s3d2drive:@s3d2dir\\3DS.SET")
  948.  
  949.  
  950.  
  951.    For 3D Studio 2.0 to work properly, several lines in 3DS.SET should be
  952.    changed.  Note that any text that appears on a line after a semi-colon
  953.    ('   'commented-out' by starting with a semi-colon.
  954.  
  955.    A line containing 'RENDER-DISPLAY' could not be found.  Add the line
  956.        'RENDER-DISPLAY = RCPADI' to the file!
  957. @option 10000 = "Quit installation!"
  958. @option 10001 = "Continue"
  959. @endoption
  960. @if (10000 [= @option)  @abort  @endif
  961. @endif
  962. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.NEW","MAIN-DISPLAY",
  963.  "MAIN-DISPLAY = RCPADI",,,,,1)==0)
  964. @getoption
  965. @cls
  966. @windmsg(10,79,"--- W A R N I N G ! ---",
  967.  "Couldn't find 'MAIN-DISPLAY' in",
  968.  "@s3d2drive:@s3d2dir\\3DS.SET")
  969.  
  970.  
  971.  
  972.  
  973.    For 3D Studio 2.0 to work properly, several lines in 3DS.SET should be
  974.    changed.  Note that any text that appears on a line after a semi-colon
  975.    ('   'commented-out' by starting with a semi-colon.
  976.  
  977.    A line containing 'MAIN-DISPLAY' could not be found.  Add the line
  978.        'MAIN-DISPLAY = RCPADI' to the file!
  979. @option 10000 = "Quit installation!"
  980. @option 10001 = "Continue"
  981. @endoption
  982. @if (10000 [= @option)  @abort  @endif
  983. @endif
  984. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.NEW","MATERIAL-DISPLAY",
  985.  "MATERIAL-DISPLAY = RCPADI",,,,,1)==0)
  986. @getoption
  987. @cls
  988. @windmsg(3,79,"--- W A R N I N G ! ---",
  989.  "Couldn't find 'MATERIAL-DISPLAY' in",
  990.  "@s3d2drive:@s3d2dir\\3DS.SET")
  991. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  992. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  993. @localwindow(13,40)
  994. @option 10000 = "Quit installation!"
  995. @option 10001 = "Continue"
  996. @endoption
  997. @if (10000 [= @option)  @abort  @endif
  998. @endif
  999. @display
  1000. @cls
  1001. @windmsg(11,46,"The file @s3d2drive:@s3d2dir\\3DS.NEW, which contains",
  1002.  "the prototype of 3DS.SET for version 2.0, has been written to disk",
  1003.  "Incorporate the changes before running @name.")
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009. @pause
  1010. @enddisplay
  1011. @elseif (402 [= @option)
  1012. @if (!(@exists "@s3d2drive:@s3d2dir\\3DS.OLD"))
  1013. @copy("@s3d2drive:@s3d2dir\\3DS.SET","@s3d2drive:@s3d2dir\\3DS.OLD")
  1014. @else
  1015. @copy("@s3d2drive:@s3d2dir\\3DS.SET","@s3d2drive:@s3d2dir\\3DS.BAK")
  1016. @endif
  1017. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.SET","RENDER-DISPLAY",
  1018.  "RENDER-DISPLAY = RCPADI",,,,,1)==0)
  1019. @getoption
  1020. @cls
  1021. @windmsg(10,79,"--- W A R N I N G ! ---",
  1022.  "Couldn't find 'RENDER-DISPLAY' in",
  1023.  "@s3d2drive:@s3d2dir\\3DS.SET")
  1024.  
  1025.  
  1026.  
  1027.    For 3D Studio 2.0 to work properly, several lines in 3DS.SET should be
  1028.    changed.  Note that any text that appears on a line after a semi-colon
  1029.    ('   'commented-out' by starting with a semi-colon.
  1030.  
  1031.    A line containing 'RENDER-DISPLAY' could not be found.  Add the line
  1032.        'RENDER-DISPLAY = RCPADI' to the file!
  1033. @option 10000 = "Quit installation!"
  1034. @option 10001 = "Continue"
  1035. @endoption
  1036. @if (10000 [= @option)  @abort  @endif
  1037. @endif
  1038. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.SET","MAIN-DISPLAY",
  1039.  "MAIN-DISPLAY = RCPADI",,,,,1)==0)
  1040. @getoption
  1041. @cls
  1042. @windmsg(10,79,"--- W A R N I N G ! ---",
  1043.  "Couldn't find 'MAIN-DISPLAY' in",
  1044.  "@s3d2drive:@s3d2dir\\3DS.SET")
  1045.  
  1046.  
  1047.  
  1048.  
  1049.    For 3D Studio 2.0 to work properly, several lines in 3DS.SET should be
  1050.    changed.  Note that any text that appears on a line after a semi-colon
  1051.    ('   'commented-out' by starting with a semi-colon.
  1052.  
  1053.    A line containing 'MAIN-DISPLAY' could not be found.  Add the line
  1054.        'MAIN-DISPLAY = RCPADI' to the file!
  1055. @option 10000 = "Quit installation!"
  1056. @option 10001 = "Continue"
  1057. @endoption
  1058. @if (10000 [= @option)  @abort  @endif
  1059. @endif
  1060. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.SET","MATERIAL-DISPLAY",
  1061.  "MATERIAL-DISPLAY = RCPADI",,,,,1)==0)
  1062. @getoption
  1063. @cls
  1064. @windmsg(3,79,"--- W A R N I N G ! ---",
  1065.  "Couldn't find 'MATERIAL-DISPLAY' in",
  1066.  "@s3d2drive:@s3d2dir\\3DS.SET")
  1067. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  1068. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  1069. @localwindow(13,40)
  1070. @option 10000 = "Quit installation!"
  1071. @option 10001 = "Continue"
  1072. @endoption
  1073. @if (10000 [= @option)  @abort  @endif
  1074. @endif
  1075. @display
  1076. @cls
  1077. @windmsg(11,46,"The file @s3d2drive:@s3d2dir\\3DS.SET for version 2.0 has been updated")
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083. @pause
  1084. @enddisplay
  1085. @endif
  1086. @endif
  1087. @definedisk
  1088. @label = "Distribution Disk"
  1089. @beginlib @rootfn.RED
  1090. @if (20 [= @option)
  1091. @file @expfn.EXP @out @acad10drive:@acad10dir\\ADIDISP.EXP
  1092. @file @resfn.RES @out @acad10drive:@acad10dir\\*.*
  1093. @endif
  1094. @if (21 [= @option)
  1095. @file @expfn.EXP @out @acad11drive:@acad11dir\\ADIDISP.EXP
  1096. @file @resfn.RES @out @acad11drive:@acad11dir\\*.*
  1097. @endif
  1098. @if (22 [= @option)
  1099. @file @expfn.EXP @out @acad12drive:@acad12dir\\DRV\\*.*
  1100. @file @resfn.RES @out @acad12drive:@acad12dir\\DRV\\*.*
  1101. @endif
  1102. @if (30 [= @option || 31 [= @option || 32 [= @option || 40 [= @option ||
  1103.  41 [= @option || 50 [= @option )
  1104. @file @expfn.EXP
  1105. @file @resfn.RES
  1106. @endif
  1107. @if (300 [= @option)
  1108. @file APATCH.EXE
  1109. @endif
  1110. @if (301 [= @option)
  1111. @file NEWDX.EXE
  1112. @file NEWDX.DOC
  1113. @endif
  1114. @endlib
  1115. @enddisk
  1116. @finish
  1117. @if (30 [= @option || 31 [= @option || 32 [= @option)
  1118. @if (@exists "@acad10drive:@acad10dir\\@cfgfn.CFG")
  1119. @copy("@acad10drive:@acad10dir\\@cfgfn.CFG",
  1120. "@outdrive:@subdir\\@cfgfn.CFG")
  1121. @delete("@acad10drive:@acad10dir\\@cfgfn.CFG")
  1122. @endif
  1123. @if (@exists "@acad11drive:@acad11dir\\@cfgfn.CFG")
  1124. @copy("@acad11drive:@acad11dir\\@cfgfn.CFG",
  1125. "@outdrive:@subdir\\@cfgfn.CFG")
  1126. @delete("@acad11drive:@acad11dir\\@cfgfn.CFG")
  1127. @endif
  1128. @if (@exists "@acad12drive:@acad12dir\\@cfgfn.CFG")
  1129. @copy("@acad12drive:@acad12dir\\@cfgfn.CFG",
  1130. "@outdrive:@subdir\\@cfgfn.CFG")
  1131. @delete("@acad12drive:@acad12dir\\@cfgfn.CFG")
  1132. @endif
  1133. @endif
  1134. @if (20 [= @option || 21 [= @option || 22 [= @option ||
  1135.      30 [= @option || 31 [= @option || 32 [= @option ||
  1136.      40 [= @option || 41 [= @option || 50 [= @option)
  1137.     The installation of @name is complete.
  1138. @else
  1139.     @name was not installed. @endif
  1140. @if (400 [= @option || 401 [= @option)
  1141.     Please make the changes to the files requested by INSTALL. @endif
  1142. @if (100 [= @option || 201 [= @option || 202 [= @option)
  1143.     Reboot your system before running the product with the new driver. @endif
  1144. @if (101 [= @option)
  1145.     Run the batch file before running the product with the new driver. @endif
  1146. @if (300 [= @option)
  1147.     AutoPatch was placed at @outdrive:@subdir.  Simply run the program and
  1148.     follow the instructions.  If you have trouble with your new driver, like
  1149.     random crashing or other conflicts, try this patch program. @endif
  1150. @if (301 [= @option)
  1151.     NEWDX was put at @outdrive:@subdir.  Read the file NEWDX.DOC for
  1152.     instructions. @endif
  1153. @pause
  1154. @chdrive @startupdrive
  1155. @chdir "@startupdir"
  1156. @endfinish
  1157.